<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@page contentType="text/html; UTF-8" pageEncoding="UTF-8" isELIgnored="false" %><!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/back/statics/css/bootstrap3.min.css">
    <script src="${pageContext.request.contextPath}/back/statics/js/jquery-1.8.3.min.js"></script>
</head>
<body>
<div class="container-fluid">
    <div class="row" style="margin-top: 25px">
        <div class="col-sm-6 col-sm-offset-3">
            <form class="form-horizontal" id="input" action="${pageContext.request.contextPath}/address/changed" method="post">

                <div class="form-group">
                    <label for="id" class="col-sm-2 control-label">编号:</label>
                    <div class="col-sm-10">
                        <input type="text" value="${requestScope.address.id}" readonly="readonly" class="form-control" id="id" name="id" placeholder="请输入编号">
                    </div>

                </div>

                <div class="form-group">
                    <label for="name" class="col-sm-2 control-label">姓名:</label>
                    <div class="col-sm-10">
                        <input type="text" value="${requestScope.address.name}" class="form-control" id="name" name="name" placeholder="请输入学生姓名">
                    </div>
                </div>

                <div class="form-group">
                    <label for="s_number" class="col-sm-2 control-label">学号:</label>
                    <div class="col-sm-10">
                        <input type="text" value="${requestScope.address.s_number}" class="form-control" id="s_number" name="s_number" placeholder="请输入学生学号">
                    </div>
                </div>

                <div class="form-group">
                    <label for="city_name" class="col-sm-2 control-label">城市名称:</label>
                    <div class="col-sm-10">
                        <input type="text" value="${requestScope.address.city_name}" class="form-control" id="city_name" name="city_name" placeholder="请输入学生家庭住址">
                    </div>

                </div>
                <div class="form-group">
                    <div class="col-sm-offset-3 col-sm-10">
                        <button type="submit" class="btn btn-success" style="width: 35%;">确定修改</button>
                        <a href="${pageContext.request.contextPath}/address/findAll" type="submit" class="btn btn-danger" style="width: 35%;">返回列表</a>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
</body>
</html>
